package cn.wolfcode.transfer.service;

import cn.wolfcode.transfer.domain.Activity;
import cn.wolfcode.transfer.domain.ActivityItem;
import cn.wolfcode.transfer.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IActivityService {
    void save(Activity activity);
    void delete(Long id);
    void update(Activity activity);
    List<ActivityItem> get(Long id);
    Activity getTitle(Long id);
    List<Activity> listAll();
    // 分页查询的方法
    PageInfo<Activity> query(QueryObject qo);

    void poll(Long[] optionsRadios,Long id);

}
